﻿using Castle.ActiveRecord;
using Financial.Infra.DDD;
using Financial.Core.Modulos.ModuloUsuario;
using System.Collections.Generic;

namespace Financial.Core.Modulos.ModuloPermissao
{
    [ActiveRecord]
    public class Permissao : IIdentifiable
    {

        [PrimaryKey]
        public int Id { get; set; }

        [Property]
        public string PER_STR_PERMISSAO { get; set; }

        [HasMany(MapType = typeof(Usuario), Lazy = true, Inverse = true)]
        public IList<Usuario> Usuario { get; set; }



    }
}
